from flask import Blueprint

from app.auth import views

bp = Blueprint("auth", __name__, url_prefix="/auth")

bp.add_url_rule(
    "/login",
    view_func=views.Login.as_view("login"),
    methods=["GET", "POST"],
)
